# kvcache-service/CMakeLists.txt
add_library(kvcache_service STATIC
        src/KVCacheService.cpp
)

target_include_directories(kvcache_service PUBLIC
        "${CMAKE_CURRENT_SOURCE_DIR}/include"
        ${ROOT_DIR}/kvcache-memorypool/include
        "${ROOT_DIR}/kvcache-storage-client/include/"
        ${COMMON_DIR}/include
        ${ROOT_DIR}/kvcache-publisher/include
)

target_link_libraries(kvcache_service PRIVATE
        proto-objects
        gRPC::grpc++
        kv_storage_client
        kvcache_memorypool
        common_lib
        kvcache_publisher
)